using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using yq.IBase;
using yq.Model.Base;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace yq.Model.Logic
{
    /// <summary>
    /// Note_List - 记事本 - 对象继承类
    /// </summary>
    [MetadataType(typeof(NoteListValidaTion))]
    public class NoteList : INoteList<NoteList>
    {


       #region 生成实体类验证属性
       /// <summary>
       /// 辅助验证类
       /// </summary>
       [Bind]
       public class NoteListValidaTion
       {

     

        /// <summary>
        /// 记事ID
        /// </summary>
        [Display(Name ="记事ID")]
        [Required]
        [StringLength(36)]
        public String NoteId
        {
         get; set; 
        }


       
     

        /// <summary>
        /// 内容ID
        /// </summary>
        [Display(Name ="内容ID")]
        [Required]
        [StringLength(36)]
        public String ContentId
        {
         get; set; 
        }


       
     

        /// <summary>
        /// 用户ID
        /// </summary>
        [Display(Name ="用户ID")]
        [Required]
        [StringLength(36)]
        public String UserId
        {
         get; set; 
        }


       
     

        /// <summary>
        /// 创建时间
        /// </summary>
        [Display(Name ="创建时间")]
        [Required]

        public DateTime SubmitTime
        {
         get; set; 
        }


       

       
       }
       #endregion 生成实体类验证属性
    }
}
